package com.xqboss.apps.dto.synthesis;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
@ApiModel(value = "合成活动-修改仅白名单开关")
public class WebSynthesisWhiteOnlyEditDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动id")
    @NotNull(message = "活动id不可为空")
    private Long id;

    @ApiModelProperty("是否仅白名单")
    @NotNull(message = "是否仅白名单不可为空")
    private Boolean whiteOnly;
}
